import { Module } from '@nestjs/common';
import { SettingService } from './setting.service';
import { SettingController } from './setting.controller';
import {
  CandidateConfig,
  ElectionSettingConfig,
} from '../common/commonConfigSchema';
import { CrontabService } from '../crontab/crontab.service';
import { VoteModule } from '../vote/vote.module';

@Module({
  imports: [ElectionSettingConfig, CandidateConfig, VoteModule],
  controllers: [SettingController],
  providers: [SettingService, CrontabService],
  exports: [SettingService],
})
export class SettingModule {}
